package com.vehicle.biz;

import com.vehicle.domains.vo.BasePage;
import com.vehicle.domains.vo.req.sysRole.AddRolePermissionsReq;
import com.vehicle.domains.vo.req.sysRole.AddRoleReq;
import com.vehicle.domains.vo.req.sysRole.ListRoleReq;
import com.vehicle.domains.vo.req.sysRole.UpdateRoleReq;
import com.vehicle.domains.vo.res.sysRole.SysRoleRes;

public interface SysRoleBiz {
    void addRole(AddRoleReq req);

    void updateRole(UpdateRoleReq req);

    void deleteRole(Long id);

    SysRoleRes getRoleById(Long id);

    BasePage<SysRoleRes> selectRoleList(ListRoleReq req);

    void addRolePermissions(AddRolePermissionsReq req);
}
